package com.atguigu.service;

import com.atguigu.entity.Permission;
import com.atguigu.entity.RolePermission;

import java.util.List;
import java.util.Map;

public interface PermissionService extends BaseService<Permission> {
    List<Map<String, Object>> findZnodes(Long roleId);

    List<Permission> findPermissionByAdminId(Long adminId);

    List<Permission> findAll();


    List<String> findCodeByAdminId(Long adminId);
}
